FROM registry.openanolis.cn/openanolis/anolisos:23

LABEL \
    maintainer="OpenAnolis Intel Arch SIG" \
    org.opencontainers.image.title="envoy-accel" \
    org.opencontainers.image.version="1.26.2-23"

RUN dnf install openssl1.1 -y
RUN dnf install envoy accel-config-libs -y

RUN mkdir -p /etc/envoy
COPY entrypoint.sh /
COPY envoy.yaml /etc/envoy/envoy.yaml

ENTRYPOINT ["/entrypoint.sh"]
CMD ["envoy", "-c", "/etc/envoy/envoy.yaml"]
